package com.sto.stoapp.http.request;

import com.sto.stoapp.db.StoFilePreference;
import com.sto.stoapp.util.DateUtil;
import com.sto.stoapp.util.TraceUtil;

import android.content.Context;

/**
 * 时间同步
 * @author Administrator
 *
 */
public class TimeSynchRequest extends BaseRequest {

	public TimeSynchRequest(Context c) {
		opOrgCode = StoFilePreference.getInstance(c).getSiteCode();
		deviceType = "PDA";
		opTerminal = StoFilePreference.getInstance(c).getMachineCode();
		tid = StoFilePreference.getInstance(c).getMachineCode();
		empCode =StoFilePreference.getInstance(c).getSiteCode()+StoFilePreference.getInstance(c).getUserCode();
		systemTime = DateUtil.getDateTime();
		trace = TraceUtil.getTraceTimes();
		sessionId = StoFilePreference.getInstance(c).getSessionId();
		mty = "0853";
	}

	public String opOrgCode = "";

	public String deviceType = "";
	public String opTerminal = "";
	public String systemTime = "";
	public String empCode = "";

}
